package cart.api.vo;

import com.sun.org.apache.xpath.internal.operations.Bool;

import java.io.Serializable;
import java.util.List;

/**
 * 订单信息提交参数VO
 * Created by Liang Wenxu on 2016/11/21.
 */
public class OrderSubmitVo implements Serializable {
    private String addressId; // 选择的地址ID
    private String payMethodCode; // 支付方式代码
    private String rid; // 临时订单id
    private Boolean sameAsAchiever; // 是否同收件人标识
    private Boolean needBills; // 是否需要发票
    // 配送信息
    private InvoiceReceiverVo invoiceReceiver;
    // 发票信息
    private InvoiceInfoVo invoiceInfo;
    // 订单用途
    private String orderUsageCode;

    private List<OrderAttrVo> orderAttrs;

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getPayMethodCode() {
        return payMethodCode;
    }

    public void setPayMethodCode(String payMethodCode) {
        this.payMethodCode = payMethodCode;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public InvoiceReceiverVo getInvoiceReceiver() {
        return invoiceReceiver;
    }

    public void setInvoiceReceiver(InvoiceReceiverVo invoiceReceiver) {
        this.invoiceReceiver = invoiceReceiver;
    }

    public InvoiceInfoVo getInvoiceInfo() {
        return invoiceInfo;
    }

    public void setInvoiceInfo(InvoiceInfoVo invoiceInfo) {
        this.invoiceInfo = invoiceInfo;
    }

    public Boolean getSameAsAchiever() {
        return sameAsAchiever;
    }

    public void setSameAsAchiever(Boolean sameAsAchiever) {
        this.sameAsAchiever = sameAsAchiever;
    }

    public Boolean getNeedBills() {
        return needBills;
    }

    public void setNeedBills(Boolean needBills) {
        this.needBills = needBills;
    }

    public String getOrderUsageCode() {
        return orderUsageCode;
    }

    public void setOrderUsageCode(String orderUsageCode) {
        this.orderUsageCode = orderUsageCode;
    }

    public List<OrderAttrVo> getOrderAttrs() {
        return orderAttrs;
    }

    public void setOrderAttrs(List<OrderAttrVo> orderAttrs) {
        this.orderAttrs = orderAttrs;
    }
}
